package com.cxw.healthserver.service

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
import com.cxw.healthserver.entity.SignConfig
import com.cxw.healthserver.mapper.SignConfigMapper
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.stereotype.Service

/**
 * @createTime 2024/8/11 20:25
 * @author 崔兴旺
 * @description
 */
@Service
class SingConfigService {
    @Autowired
    private lateinit var signConfigMapper: SignConfigMapper


    /**
     * 查询签约配置
     */
    fun querySignConfig(): SignConfig?{
        return signConfigMapper.selectList(QueryWrapper()).firstOrNull()
    }
}
